package com.example.letswalk.controller;

import com.example.letswalk.pojo.StepDetails;
import com.example.letswalk.service.StepDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

//微信前台获取兑换记录
@Controller
public class RecoedController {
    @Autowired
    StepDetailsService stepDetailsService;
    StepDetails stepDetails;
//    @RequestMapping("StepDetails_info")
//    @ResponseBody
//    public Map<String, StepDetails>selectInfo(Integer id){
//         Map<String, StepDetails> map = new HashMap<>();
//        stepDetails =stepDetailsService.selectinfo(id);
//
//         map.put("stepDetails", stepDetails);
//
//        System.out.println(id);
//         return map;
 //   }
}
